<template>
	<view>
		<image :src="posterImg" style="width: 750rpx;height: 100vh;" ></image>
		<image :src="img"  mode="widthFix" class="belowCla"></image>
	</view>
</template>
<script>
	export default {
		onShareAppMessage(res) {
		    if (res.from === 'button') {// 来自页面内分享按钮
		      console.log(res.target)
		    }
		    return {
		      title: '优学卡分享',
		      path: '/pages/Other/setPass/setPass'
		    }
	    },
		
		// 分享到朋友圈 ios 暂时不支持
		onShareTimeline() {
            return {
                 title: '海报分享'
             }
        },
		
		data() {
			return {
				posterImg: "http://img.curiousmore.com/591232387725",
				img: ""
			}
		},
		
		methods: {
			
		},
		
		onLoad() {
			try {
				this.img = uni.getStorageSync('user_imgCode')
			}catch(e){}
			
		}
	}
</script>
<style lang="scss" scoped>
	.belowCla {
		position: absolute;
		right: 20rpx;
		width: 250rpx;
		left: 480rpx;
		bottom: 20rpx;
	}
</style>